﻿<%@ Control Language="C#" ClassName="Telerik_ColumnsMenu" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<script runat="server">
</script>
<telerik:RadContextMenu ID="rcmShowColumns" runat="server" Skin="Office2007">
<Items>
<telerik:RadMenuItem Value="1" text="Select" Font-Bold="true" style="text-align:center" />
<telerik:RadMenuItem Text="Columns">
<ItemTemplate>
<%-- Don't change id="divBridgeColumns". It's referenced. --%>
<fieldset id="divBridgeColumns" Style="height:300px;overflow-y:scroll;overflow-x:visible;padding-right:30px;display:inline">
<ul Style="list-style:none;white-space:nowrap;margin:0px">
<asp:Repeater DataSourceID="dsColumns" runat="server">
<ItemTemplate>
<li>
<input type="checkbox" style="border-style:none" <%#Eval("Checked")%> DataField='<%#Eval("UniqueName")%>' id='chk_<%#Eval("UniqueName")%>' />
<label title='<%#Eval("Title")%>' for='chk_<%#Eval("UniqueName")%>'><%#Eval("Label")%><span style="color:Coral"><%#Eval("FieldName")%></span></label>
</li>
</ItemTemplate>
</asp:Repeater>
</ul>
</fieldset>
<asp:LinqDataSource ID="dsColumns" runat="server"></asp:LinqDataSource>
</ItemTemplate>
</telerik:RadMenuItem>
<telerik:RadMenuItem Value="0" text="Cancel" Font-Bold="true" style="text-align:center" />
</Items>
</telerik:RadContextMenu>

